home *** CD-ROM | disk | FTP | other *** search
/ EuroCD 3 / EuroCD 3.iso / Programming / Amos / AMOSList-1097 / AMOSLIST / text0240.txt < prev    next >
Encoding:
Text File  |  1998-06-24  |  904 b   |  23 lines

  1. On 25-Okt-97, Mr. Giark To You smashed the keyboard with:
  2. >On 25-Oct-97, Alastair Murray wrote:
  3. >>Anyone have any AMOS code for doing a pattern match on a string?
  4. >>e.g. *.AMOS or #?.AMOS to see if a string contains .AMOS in it
  5. >>anywhere.
  6. >>Saves me writing it myself...
  7.  
  8. >A=Instr(<string to check>,<string to search for>)
  9.  
  10. THAT's NOT A PATTERN MATCH, but a character match
  11.  
  12. -- 
  13. Happy greetings, Yours..
  14. __________________________________________________________________________
  15.  /_  __/ __  / __  /\  ___\  __ \__  _\           aka. JENS VANG PETERSEN
  16.   / / / /_/ / ____/  \ \___\  __ \ \ \  Nyvej 8, DK-4450 Jyderup, Denmark
  17.  /_/ /_____/_/        \_____\_\ \_\ \_\             top_cat@post8.tele.dk
  18. --------------------------------------------------------------------------
  19.  f u cn rd ths, u cn gt a gd jb n cmptr prgrmmng.
  20. --------------------------------------------------------------------------
  21.  
  22.  
  23.